projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3918cdd
)
combo_box: Use mnemonic_activate on override
author
Maximiliano Sandoval R
<msandova@gnome.org>
Sun, 3 Oct 2021 16:00:23 +0000
(18:00 +0200)
committer
Maximiliano Sandoval R
<msandova@gnome.org>
Wed, 3 Nov 2021 23:48:05 +0000
(
00:48
+0100)
This is changing the existing behavior where the mnemonic activation
would just grab the focus of the button, this was the behavior in GTK 3.
gtk/gtkcombobox.c
patch
|
blob
|
history
diff --git
a/gtk/gtkcombobox.c
b/gtk/gtkcombobox.c
index f007d841f9732f26e19922c0d04ab1cc9375c531..c29896319eaa99c0f705fa4421f9b9bbdd0a5c2f 100644
(file)
--- a/
gtk/gtkcombobox.c
+++ b/
gtk/gtkcombobox.c
@@
-2304,7
+2304,7
@@
gtk_combo_box_mnemonic_activate (GtkWidget *widget,
gtk_widget_grab_focus (priv->child);
}
else
- gtk_widget_
grab_focus (priv->button
);
+ gtk_widget_
mnemonic_activate (priv->button, group_cycling
);
return TRUE;
}